package com.north.light.libpicselect.callback;

/**
 * FileName: LibPicSelMediaInfo
 * Author: lzt
 * Date: 2022/4/29 16:42
 * 选择图片信息obj
 * change by lzt 20220703 增加资源拓展参数
 */
public class LibPicSelMediaInfo {
    //原图的路径
    private String path;
    //转换后的路径
    private String trainPath;
    //资源类型：1图片,2视频
    private int resType = 1;
    //宽
    private int width;
    //高
    private int height;
    //时长
    private long duration;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public LibPicSelMediaInfo(String path, String trainPath) {
        this.path = path;
        this.trainPath = trainPath;
    }

    public int getResType() {
        return resType;
    }

    public void setResType(int resType) {
        this.resType = resType;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTrainPath() {
        return trainPath;
    }

    public void setTrainPath(String trainPath) {
        this.trainPath = trainPath;
    }
}
